/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package inc.unlocked.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.servlet.ModelAndView;

/**
 *
 * @author MTolstykh
 */

@Controller
@RequestMapping("/promoters")
public class PromoterController {
    
    @RequestMapping(value="/promos.html")
    public ModelAndView promos(){
        return new ModelAndView("promos");
    }
    
    @RequestMapping(value="/add", method= RequestMethod.POST)
    public void addNewPromoter(){
        
    }
    
    public void viewPromoter(@RequestParam("id")String id){
        
    }
    
    public void editPromoter(@RequestParam("id")String id){
        
    }
    
    public void deletePromoter(@RequestParam("id")String id){
        
    }
}
